home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000958_pete@lovelace.…ni-frankfurt.de_Mon Sep 19 19:57:03 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from riese.informatik.uni-frankfurt.de (riese.thi.informatik.uni-frankfurt.de) by cs.umb.edu with SMTP id AA21628
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Mon, 19 Sep 1994 11:56:29 -0400
  3. Received: from lovelace.informatik.uni-frankfurt.de (lovelace.thi.informatik.uni-frankfurt.de) by riese.informatik.uni-frankfurt.de (4.1/THI-peleuck2.1)
  4.     id AA03894; Mon, 19 Sep 94 17:57:21 +0200
  5. Content-Transfer-Encoding: binary
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Received: by lovelace.informatik.uni-frankfurt.de (4.1/SMI-4.1)
  8.     id AA06072; Mon, 19 Sep 94 17:57:03 +0200
  9. Date: Mon, 19 Sep 94 17:57:03 +0200
  10. From: pete@lovelace.thi.informatik.uni-frankfurt.de (Peter Dyballa)
  11. Message-Id: <9409191557.AA06072@lovelace.informatik.uni-frankfurt.de>
  12. To: tex-k@cs.umb.edu
  13. Subject: Re: bug in doc for xdvik-18b
  14.  
  15.  
  16. Stefan 'Stetson' Skoglund writes:
  17.  
  18. > xdvik/INSTALL tells about a define called NOMAKETEXPK
  19. > ie i read it that maketexpk is default but it didn't work
  20. > that way. If I only defined buttons and a4
  21. > I wouldn't get automatic generation of fonts so i tried
  22. > with the old -DMAKETEXPK and now everything works.
  23.  
  24. I think too that this part of INSTALL isn't so clearly to understand:
  25.  
  26. -DNOMAKEPK to disable MakeTeXPK by default.  It can be disabled (or
  27.   enabled) at runtime, regardless (see the man page). MakeTeXPK must
  28.   echo the generated filename (and nothing else) to standard output.
  29.  
  30. But you can further (in xdvi.man, xdvi.1) that the meaning of this compiler DEF has changed a bit. By looking into the code you might find:
  31.  
  32. in config.h:
  33.     #ifndef NOMAKEPK
  34.     #define MAKEPK
  35.     #endif
  36.     #ifdef NOMAKEPK
  37.     #define MAKEPK_BY_DEFAULT_STRING "false"
  38.     #else
  39.     #define MAKEPK_BY_DEFAULT_STRING "true"
  40.     #endif
  41.  
  42. and in xdvi.h:
  43.     {"maketexpk", "MakeTeXPK", XtRBoolean, sizeof (Boolean),
  44.      offset(_use_makepk), XtRString, MAKEPK_BY_DEFAULT_STRING},
  45.     {"mfmode", "mfmode", XtRString, sizeof (char *),
  46.      offset(_mf_mode), XtRString, NULL},
  47.     };
  48.  
  49. So we see that nothing happens at compile time but at runtime. By default xdvi is told to make PK fonts.
  50.  
  51. MAKEPK is never used in .[ch] src files of xdvik-18b ...
  52.  
  53.  
  54.  
  55. Greetings
  56.  
  57. Pete
  58.  
  59. (Peter Dyballa)
  60.  
  61. Johann Wolfgang Goethe-Universit\"at        Robert-Mayer-Str. 11-15      
  62. Fachbereich 20 - Theoretische Informatik    D 60325 Frankfurt am Main    
  63. (Department for Computer Science)        (Federal Republic of Germany)
  64.  
  65. email:pete@thi.informatik.uni-frankfurt.de    voice/fax:0049-69-798 8224/8353